BigCommerce\Cart\Cart_Mapper S

Total Complexity 39
Dependencies 17
Dependents 4
Total lines 382
Lines of code 271
Logical lines of code 93
Comment lines 77
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
prepare_base_item()
S
39 4 75
prepare_gift_certificate_item()
S
44 3 50
identify_channel()
S
55 5 20
get_max_quantity()
S
61 4 14
map()
S
49 2 35
prepare_line_item()
S
66 3 9
get_variant()
S
66 3 9
get_thumbnail_id()
S
67 2 7
calculate_total_tax()
S
68 2 6
get_terms()
S
69 2 6
get_variant_sku()
S
74 2 4
format_currency()
S
70 2 6
__construct()
S
81 1 3
format_term()
S
69 1 7
get_product()
S
75 1 4
cart_items()
S
70 1 6
get_options()
S
64 1 10